<div class="caption_box icon_title" style="background:none repeat scroll 0 0 #FF55FF;">
    <span style="color:#FFF;"><?php echo $this->translator()->widget('widget_latest_product');?></span>
</div>
<?php $i=0; foreach ($this->products as $product):?>
	<?php
		//Category follow product
		$objCategory = $this->arrPC[$product->product_id];

		//Enterprise follow product
		$objEnterprise = $this->arrPE[$product->product_id];

		//Param url detail
		$arrRouteDetail = array(
			'enterprise_id' => $objEnterprise->id,
			'enterprise_name' => Tomato_Utility_String::removeSign($objEnterprise->company_name_en, '-', true),
			'cat' => $objCategory->category_id,
			'slug' => ($objCategory->slug)?$objCategory->slug:Tomato_Utility_String::removeSign($objCategory->category_admin_name, '-', true),
			'product_id' => $product->product_id,
			'pro_slug' => ($product->slug)?$product->slug:Tomato_Utility_String::removeSign($product->product_admin_name, '-', true),
		);
		
		$p_name = ($product->product_content_name)?$product->product_content_name:$product->product_admin_name;
	?>

<?php if($i%2==0):?>
<div class="subrow">
<?php endif;?>
    <div class="<?php if($i%2==0):?>col_50l<?php else:?>col_50r<?php endif;?>">
        <div class="subcolumns_oldgecko">
            <a href="<?php echo $this->url($arrRouteDetail,'shop_product_detail');?>">
				<span class="title"><?php echo $p_name;?></span>
			</a>
        </div>
        <div class="subcolumns_oldgecko">
            <div class="geckol" style="width:40%;">
                <?php if($product->getImage()):?>
		        <a href="<?php echo $this->url($arrRouteDetail,'shop_product_detail');?>">
		            <img width="130" src="<?php echo $product->getImage('_small', '200');?>" class="item_img" alt="<?php echo $p_name;?>">
		        </a>
		        <?php endif;?>
            </div>
            <div class="geckor" style="width: 58%;">
                <div style="text-align:justify">
                    <?php echo strip_tags(Tomato_Helper_Helper::substring($product->product_content_description, 300));?>
                </div>
                <div>
                    <?php echo $this->translator('front_product_price');?>:
                    <strong><?php echo $product->product_price;?> <?php echo $product->product_price_currency;?></strong>
                </div>
            </div>			
        </div>
    </div>
<?php $i++; if($i%2==0):?>
</div>
<?php endif;?>
<?php endforeach;?>
<?php if($i%2!=0):?>
</div>
<?php endif;?>